package com.qiyue.admin.entity.base.group;

import com.qiyue.orm.jpa.model.BaseEntity;
import io.swagger.annotations.ApiModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by y747718944 on 2018/2/7
 * 关联
 */
@Entity
@Table(name = "base_group_type")
@ApiModel("群组类型")
public class GroupType extends BaseEntity {

    @Column( name = "code" , length = 16)
    private String code;

    @Column( name = "name" , length = 16)
    private String name;

    @Column( name = "description" , length = 32)
    private String description;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
